package com.cfpamf.ms.insur.wx.request;


import com.cfpamf.ms.insur.wx.model.WxPayPrePayModel;
import com.cfpamf.ms.insur.wx.response.WxPayPrePayResponse;

/**
 * 微信统一下单接口
 */
public class WxPayPrePayRequest
        extends WxAbstractRequest<WxPayPrePayModel, WxPayPrePayResponse> {

    public WxPayPrePayRequest() {
        super();
    }

    public WxPayPrePayRequest(WxPayPrePayModel model) {
        super(model);
    }

    @Override
    public String getApiAction() {
        return "/pay/unifiedorder";
    }


    @Override
    public Class<WxPayPrePayModel> getObjectClass() {
        return WxPayPrePayModel.class;
    }

    @Override
    public Class<WxPayPrePayResponse> getResponseClass() {
        return WxPayPrePayResponse.class;
    }

    @Override
    public boolean requireCert() {
        return false;
    }
}
